//package com.kanq.service.mybatis;
//
//import com.kanq.service.mybatis.mapper.OrderMapper;
//import com.kanq.service.mybatis.mapper.UserMapper;
//import com.kanq.service.mybatis.service.UserService;
//import org.springframework.beans.factory.support.AbstractBeanDefinition;
//import org.springframework.beans.factory.support.BeanDefinitionBuilder;
//import org.springframework.context.annotation.AnnotationConfigApplicationContext;
//import org.springframework.context.annotation.ComponentScan;
//import org.springframework.context.annotation.Import;
//
///**
// * @Author cheng jun
// * @Description:
// * @Date 2021/7/18 21:11
// */
//@ComponentScan("com.kanq.service.mybatis")
//@Import(ImportBeanDefinitionRegistrarDemo.class)
//public class ApplicationDemo {
//
//    public static void main(String[] args) {
//        AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext();
//        annotationConfigApplicationContext.register(ApplicationDemo.class);
//
//        annotationConfigApplicationContext.refresh();
//
//        UserService userService = annotationConfigApplicationContext.getBean("userService", UserService.class);
//        userService.selectObject();
//    }
//}
